package com.svms.save.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.svms.save.config.SvmsSaveConfig;
import com.svms.save.vo.ResultVo;

@Controller
public class LoginController {
	@Autowired
    private SvmsSaveConfig config;
	
	@RequestMapping("/login")
	public String toLogin(Model model) {
		model.addAttribute("config",config);
		return "login";
	}
	@RequestMapping("/doLogin")
	public ResultVo<String> doLogin() {
		return null;
	}
}
